package com.automannn.tomcat.practice.springWeb.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author automannn
 * @time 2021/10/13
 */
@RestController
@RequestMapping("/hello")
public class AutomanController {

    @RequestMapping
    public String sayHello(){
        System.out.println("automan controller 触发了!");
        return "hello,automan";
    }
}
